﻿<Window
	x:Class="Hip.Define_Test.MainWindow"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:hip="clr-namespace:Hip;assembly=HipLib"
	xmlns:local="clr-namespace:Hip.Define_Test"
	xmlns:Properties="clr-namespace:Hip.Define_Test.Properties"
	Title="MainWindow"
	SizeToContent="Height"
	Width="525">
	<Grid>
		<StackPanel>
		<TextBlock
			Text="{hip:Link GetSampleText}"
			VerticalAlignment="{Binding Update}"
			HorizontalAlignment="Center" />
			<Button
				Content="{hip:Link MagicButtonLabel}"
				Click="MagicButton_Click">
				<Button.ContextMenu>
					<ContextMenu
						ItemsSource="{hip:Link MenuItems}">
					</ContextMenu>
				</Button.ContextMenu>
			</Button>
			<Button
				Content="Change DataContext"
				Click="ChangeDataContext_Click" />
			<local:TestModelView
				x:Name="testViewer"
				DataContext="{hip:Link item1}" />
			<local:TestModelView
				DataContext="{hip:Link item2}" />
			<CheckBox
				Content="AllCaps"
				IsChecked="{Binding Source={x:Static Properties:Settings.Default}, Path=AllCaps}" />
			<ProgressBar
				Height="14"
				Name="progressBar1"
				Margin="10"
				Minimum="0.0" Maximum="1.0"
				Value="{hip:Link Progress}" />
			<Button
				x:Name="startOpBtn"
				Content="Start Operation"
				Click="StartOperation_Click" />
		</StackPanel>
	</Grid>
</Window>
